/* @(#)GSOrderQueryDetailExVO.java    V0.1
 *
 * Project: GS-1
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   kevincui 2006-11-23
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 
 */
public class GSOrderQueryDetailExVO extends GSOrderQueryDetailVO {
    public String providerId;
    public String providerShtName;
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSOrderQueryDetailExVO tGSOrderQueryDetailExVO = new GSOrderQueryDetailExVO();
        
        GSOrderQueryDetailVO tGSOrderManufactureVO = tGSOrderQueryDetailExVO;
        
        tGSOrderManufactureVO.orderDetailId = aResultSet.getString("P1");
        tGSOrderManufactureVO.concentricityId = aResultSet.getString("P2");
        tGSOrderManufactureVO.manufactureName = aResultSet.getString("P3");
        tGSOrderManufactureVO.manufSpec = aResultSet.getString("P4") == null? "":aResultSet.getString("P4");
        tGSOrderManufactureVO.manufType = aResultSet.getString("P5") == null? "":aResultSet.getString("P5");
        tGSOrderManufactureVO.manufBrand = aResultSet.getString("P6") == null? "":aResultSet.getString("P6");
        tGSOrderManufactureVO.ordercount = aResultSet.getDouble("P7");
        tGSOrderManufactureVO.orderDetailStatus = aResultSet.getString("P8")== null? "" :aResultSet.getString("P8").trim();
        tGSOrderManufactureVO.quantUnit = aResultSet.getString("P9");
        tGSOrderManufactureVO.goodsUnitprice = aResultSet.getDouble("P10");
        tGSOrderManufactureVO.deliverdate = aResultSet.getString("P11") == null? "":aResultSet.getString("P11").trim();
        tGSOrderManufactureVO.delivertime = aResultSet.getString("P12")== null? "":aResultSet.getString("P12");
        tGSOrderManufactureVO.authorizeadvices = aResultSet.getString("P13");
        tGSOrderManufactureVO.period = aResultSet.getString("P14")==null?"":aResultSet.getString("P14");
        tGSOrderManufactureVO.authorizeid = aResultSet.getString("P15");
        tGSOrderManufactureVO.authorizedate = aResultSet.getString("P16");
        tGSOrderManufactureVO.canceldate = aResultSet.getString("P17")== null? "" :aResultSet.getString("P17").trim();
        tGSOrderManufactureVO.canceladvices = aResultSet.getString("P18")== null? "" :aResultSet.getString("P18").trim();
        tGSOrderManufactureVO.cancelid = aResultSet.getString("P19")== null? "" :aResultSet.getString("P19").trim();
        tGSOrderManufactureVO.rejectcause = aResultSet.getString("P20")== null? "" :aResultSet.getString("P20").trim();
        tGSOrderManufactureVO.rejectdate = aResultSet.getString("P21")== null? "" :aResultSet.getString("P21").trim();
        tGSOrderManufactureVO.rejecttime = aResultSet.getString("P22")== null? "" :aResultSet.getString("P22").trim();
        tGSOrderManufactureVO.delivergoodsid = aResultSet.getString("P23")== null? "" :aResultSet.getString("P23").trim();
        tGSOrderManufactureVO.delivergoodsdate = aResultSet.getString("P24")== null? "" :aResultSet.getString("P24").trim();
        tGSOrderManufactureVO.delivergoodstime = aResultSet.getString("P25")== null? "" :aResultSet.getString("P25").trim();
        tGSOrderManufactureVO.deliveryman = aResultSet.getString("P26")== null? "" :aResultSet.getString("P26").trim();
        tGSOrderManufactureVO.deliveryphone = aResultSet.getString("P27")== null? "" :aResultSet.getString("P27").trim();
        tGSOrderManufactureVO.delivercounts = aResultSet.getString("P28")== null? "" :aResultSet.getString("P28").trim();
        tGSOrderManufactureVO.signindate = aResultSet.getString("P29")== null? "" :aResultSet.getString("P29").trim();
        tGSOrderManufactureVO.signinperson = aResultSet.getString("P30")== null? "" :aResultSet.getString("P30").trim();
        tGSOrderManufactureVO.signincount = aResultSet.getString("P31")== null? "" :aResultSet.getString("P31").trim();
        
        tGSOrderQueryDetailExVO.providerId = aResultSet.getString("P32")== null 
                                                ?"" :aResultSet.getString("P32").trim();
        tGSOrderQueryDetailExVO.providerShtName = aResultSet.getString("P33")== null
                                                ? "" :aResultSet.getString("P33").trim();
        return tGSOrderQueryDetailExVO;        
    }
}
